﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyProfile.ascx.cs" Inherits="Web.Cms.Users.MyProfile" %>

<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<p class="heading">
    Thông tin cá nhân
</p>
<asp:Button ID="btnBack" runat="server" SkinID="AdminButtonBack" OnClick="btnBack_Click" />
<table style="width: 100%" cellpadding="0" cellspacing="8" border="0" class="InputBox">
    <tr>
        <td colspan="5">
            <asp:Label ID="lblUpdateStatus" runat="server" ForeColor="red"></asp:Label></td>
    </tr>
    <tr>
        <td align="right" width="10%">
            Tên truy cập:</td>
        <td width="20%">
            <asp:TextBox ID="txtUsername" runat="server" Width="192px" Height="25" onfocus="setBKColor(event);"
                Enabled="false" onblur="reSetBKColor(event);" CssClass="inputRequired"></asp:TextBox>
        </td>
        <td rowspan="8" width="20%" valign="top" align="center" id="acxsdaxcv" runat="server"
            visible="false">
            <asp:Image ID="imgAvartar" runat="server" Width="120px" />
            <p>
                Ảnh minh họa
            </p>
        </td>
        <td align="right" width="10%">
        </td>
        <td width="40%">
        </td>
    </tr>
    <tr>
        <td align="right">
            Email:</td>
        <td>
            <asp:TextBox ID="txtEmail" runat="server" Width="192px" Height="25" onfocus="setBKColor(event);"
                onblur="reSetBKColor(event);" CssClass="inputRequired"></asp:TextBox>
            <div>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="txtEmail"
                    Display="Dynamic" ErrorMessage="Email không hợp lệ!" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
                    ValidationGroup="userInfo"></asp:RegularExpressionValidator>
            </div>
        </td>
        <td align="right" id="ghfg" runat="server" visible="false">
            Đường dẫn ảnh:</td>
        <td id="asdvv" runat="server" visible="false">
        </td>
    </tr>
    <tr>
        <td align="right">
            Họ đệm:</td>
        <td>
            <asp:TextBox ID="txtFirstName" runat="server" Width="192px" Height="25"></asp:TextBox></td>
        <td align="right" id="asdaasgdsf" runat="server" visible="false">
            Số CMTND:
        </td>
        <td id="asdasgdsqwf" runat="server" visible="false">
            <asp:TextBox ID="txtCmtnd" runat="server" Width="192px" onkeypress="return isNumberKey(event)"></asp:TextBox></td>
    </tr>
    <tr>
        <td align="right">
            Tên:</td>
        <td>
            <asp:TextBox ID="txtLastName" runat="server" Width="192px" Height="25"></asp:TextBox></td>
        <td align="right" id="asda2sf" runat="server" visible="false">
            Di&nbsp; động:</td>
        <td align="left" id="asdter" runat="server" visible="false">
            <asp:TextBox ID="txtMobile" onkeypress="return isNumberKey(event)" runat="server"
                Width="192px"></asp:TextBox></td>
    </tr>
    <tr id="asdaxcvaaa" runat="server" visible="false">
        <td align="right">
            Giới tính:</td>
        <td>
            <asp:RadioButtonList ID="rdoGender" runat="server" RepeatDirection="Horizontal" RepeatLayout="Flow">
                <asp:ListItem Value="0">Nam</asp:ListItem>
                <asp:ListItem Value="1">Nữ</asp:ListItem>
            </asp:RadioButtonList>
        </td>
        <td align="right">
            Điện thoại để bàn:</td>
        <td>
            <asp:TextBox ID="txtTel" onkeypress="return isNumberKey(event)" runat="server" Width="192px"></asp:TextBox></td>
    </tr>
    <tr id="asdaxcttv" runat="server" visible="false">
        <td align="right">
            Ngày&nbsp; sinh:</td>
        <td>
            <radCln:RadDatePicker ID="radBirth" runat="server" Width="200px">
                <DateInput Title="Ng&#224;y sinh" Width="100px" />
            </radCln:RadDatePicker>
        </td>
        <td align="right">
            Nick Yahoo:</td>
        <td>
            <asp:TextBox ID="txtYm" runat="server" Width="192px"></asp:TextBox></td>
    </tr>
    <tr id="asdaasdasdxcv" runat="server" visible="false">
        <td align="right">
            Thành phố:</td>
        <td>
            <asp:DropDownList ID="drCity" runat="server" Width="192px">
            </asp:DropDownList></td>
        <td align="right" id="asd" runat="server" visible="false">
            Nick Skype:</td>
        <td>
            <asp:TextBox ID="txtSkype" runat="server" Width="192px"></asp:TextBox></td>
    </tr>
    <tr>
        <td align="right" valign="top">
            Thông tin thêm:</td>
        <td rowspan="2">
            <asp:TextBox Width="250px" ID="txtAdditionalInfo" runat="server" TextMode="MultiLine">
            </asp:TextBox>
        </td>
        <td align="right" valign="top" id="asdasgdsf" runat="server" visible="false">
            Địa chỉ:</td>
        <td rowspan="2" id="asdasgdsfasd" runat="server" visible="false">
            <asp:TextBox ID="txtAddress" runat="server" Width="250px" TextMode="MultiLine"></asp:TextBox></td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
        </td>
        <td>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td align="left">
            <asp:Button ID="btnUpdate" runat="server" OnClick="btnUpdate_Click" SkinID="AdminButtonUpdate"
                ValidationGroup="userInfo" />
        </td>
        <td>
        </td>
        <td>
        </td>
        <td>
        </td>
    </tr>
</table>
